package com.cskaoyan.service;

import com.cskaoyan.bean.BO.AdminAdminPermissionBO;
import com.cskaoyan.bean.PO.MarketRole;
import com.cskaoyan.bean.VO.AdminRolePermissionsVO;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

public interface AdminRoleService {
    CommonData options();

    CommonData list(String name, BasePageInfo info);

    MarketRole create(MarketRole marketRole);

    int judgeRepeat(MarketRole marketRole);

    void update(MarketRole marketRole);

    void delete(MarketRole marketRole);

    AdminRolePermissionsVO getPermissions(Integer roleId);

    void postPermisssions(AdminAdminPermissionBO permissionBO);
}
